<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>组织级别</title>

<link rel="stylesheet" href="../layui/css/layui.css" th:href="@{../layui/css/layui.css}">

<style>
body{padding: 50px 100px;}
</style>
</head>
<body>
<h1>高新区党组织级别树</h1>
<ul id="demo"></ul>

<ul id="demo1" style="margin-top: 50px;"></ul>

<script  th:src="@{../layui/layui.js}"></script>
<script>
layui.use('tree', function(){
	
	layui.$.post("showOrganizationTree",function(data){
		layui.tree({
		    elem: '#demo' //指定元素
		    ,nodes: data
		  });
	})
});
</script>

</body>
</html>
